class CreateSchoolComments < ActiveRecord::Migration
  def self.up
    create_table :school_comments do |t|
      t.column :user_id, :integer
      t.column :school_id, :integer
      t.column :include_update, :boolean
      t.column :title, :string
      t.column :content, :text
      t.column :content_html, :text
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      
      #t.column :parent_id, :integer # thread-view reply support
    end
  end

  def self.down
    drop_table :school_comments
  end
end
